package com.lizhen.behaviorpattern.statepattern.impl;

import com.lizhen.behaviorpattern.statepattern.Context;
import com.lizhen.behaviorpattern.statepattern.State;

public class StartState implements State {
    public StartState() {
    }

    public void doAction(Context context) {
        System.out.println("Player is in start state");
        context.setState(this);
    }

    public String toString() {
        return "Start State";
    }
}
